package com.tencent.backstage.dao;
import com.tencent.backstage.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserInfoDao extends JpaRepository<UserInfo,Integer> {
    UserInfo findByOpenid(String openid);
    List<UserInfo> findAll();
}
